import React, { Component } from 'react'

export default class child extends Component {
    constructor(props){
        super();
    }
  render() {
    return (
      <div>
        <h1>
            我是child接收的数据为 {this.props.num}
        </h1>
      </div>
    )
  }
}
